package com.cuotigou.service;

import com.cuotigou.util.ObjectResult;
import com.cuotigou.util.XMLBean;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by Administrator on 2018/11/1.
 */
public interface WrongTopicService {
    //主界面
    ObjectResult index(XMLBean xmlBean);
    //指定科目的错题
    ObjectResult subjectWrongTopicDetails(XMLBean xmlBean);
    //错题上传
    ObjectResult wrongTopicupload(XMLBean xmlBean, MultipartFile[] stemFiles, MultipartFile[] answerFiles, MultipartFile[] originalFiles);
    //删除错题
    ObjectResult wrongTopicupDelete(XMLBean xmlBean);
    //彻底删除
    ObjectResult wrongTopicupRealDelete(XMLBean xmlBean);
    //修改错题状态
    ObjectResult wrongTopicupUpdate(XMLBean xmlBean);
    //编辑错题内容
    ObjectResult wrongTopicupEdit(XMLBean xmlBean,MultipartFile[] stemFiles, MultipartFile[] answerFiles, MultipartFile[] originalFiles);
    //用户的科目
    ObjectResult subject(XMLBean xmlBean);
    //热门题目
    ObjectResult wrongTopicHot(XMLBean xmlBean);
    //题库复习
    ObjectResult review(XMLBean xmlBean);
    //错题筛选
    ObjectResult wrongTopicScreen(XMLBean xmlBean);
    //错题详情
    ObjectResult wrongTopicDetails(XMLBean xmlBean);
    //举一反三
    ObjectResult learnByAnalogy(XMLBean xmlBean);
    //加入错题本
    ObjectResult wrongTopicAdd(XMLBean xmlBean);
    //打印错题
    ObjectResult wrongTopicPrinter(XMLBean xmlBean);
    //学情分析
    Map<String,Object> analysie(String userId,String id);
}
